package com.njxzc.igo.Dao;

import java.util.List;
import java.util.Set;

import com.njxzc.igo.model.Address;
import com.njxzc.igo.model.City;
import com.njxzc.igo.model.Province;
import com.njxzc.igo.model.Region;
import com.njxzc.igo.model.User;

public interface AddressDao {
	public Address addAddressByUser(User user,String receiverName,String phone,String province
			,String city,String region,String detailsAddress);
	
	public  Set findAllByUser(String username);
	
	public Address findById(int addressId);
	
	public City findByCityId(String cityId);
	
	public List<Province> findAllProvinces();
	
	public List<City> findAllByProvincesId(String provinceId);
	
}
